List, and eventually document, all available Extension Points #14648
Labels
audience/nvda-dev
PR or issue is relevant to NVDA / Add-on developers
component/documentation
triaged
Has been triaged, issue is waiting for implementation.
Milestone
Is your feature request related to a problem? Please describe.
Unless I am unaware of a source for this information, currently in order to discover core extensionPoints that are available (already registered actions, for example), one must either search the changes file, or grep the source.
If one is attempting to write an add-on which needs to patch part of core, there may be an extensionPoint already available to provide a better alternative. But a silly amount of time is required to find those that are available.
Describe the solution you'd like
I propose a new chapter at the end of the Developer guide.
I suggest two phases for adding this: a near term phase, and a future phase.
The chapter would contain:
Describe alternatives you've considered
I thought about a separate document under devdocs, such as has been done for other elements. However extensionPoints seem to be the preferred method of interfacing with core operations where possible, which inextricably links them to plugin development. Therefore I think this should go in the Development Guide.
However either solution would be fine with me ultimately, as long as the end result is a centralized, quickly available, list of all registered extensionPoints; and some eventual notes about their usage in cases where it isn't obvious.
The text was updated successfully, but these errors were encountered: